﻿
using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace Oliving.Edge.Model.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Nlog_Log", "OTO_Log")]
    public class Nlog_Log
    {
        public Nlog_Log()
        {
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>

        public string MachineName { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>

        public DateTime Logged { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>

        public string Level { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>

        public string Message { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>

        public string Logger { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>

        public string Callsite { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>

        public string Exception { get; set; }


    }
}